﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SugarWebApi.Commands
{

	public class LoginCommand : SugarWebCommand
	{

		#region Constructors

		public LoginCommand(
			SugarWebConext context,
			SugarWebProcessor processor,
			LoginParameters parameters)
			: base(context, processor, parameters)
		{
		}

		#endregion

		#region Properties

		public new LoginParameters Parameters
		{
			get { return base.Parameters as LoginParameters; }
		}

		#endregion

		#region Properties

		public string Encryptionkey
		{
			get { return this.Parameters.Encryptionkey; }
			set { this.Parameters.Encryptionkey = value; }
		}

		public string Password
		{
			get { return this.Parameters.Password; }
			set { this.Parameters.Password = value; }
		}

		public string Username
		{
			get { return this.Parameters.Username; }
			set { this.Parameters.Username = value; }
		}

		#endregion

	}

}
